import request from '@/utils/request'

// 查询通知发送列表
export function listOaNotifyTheSend(query) {
  return request({
    url: '/notify/oaNotifyTheSend/list',
    method: 'get',
    params: query
  })
}

// 查询通知发送详细
export function getOaNotifyTheSend(id) {
  return request({
    url: '/notify/oaNotifyTheSend/' + id,
    method: 'get'
  })
}

// 保存通知发送
export function saveOaNotifyTheSend(data) {
  return request({
    url: '/notify/oaNotifyTheSend/save',
    method: 'post',
    data: data
  })
}

// 删除通知发送
export function delOaNotifyTheSend(id) {
  return request({
    url: '/notify/oaNotifyTheSend/' + id,
    method: 'delete'
  })
}

// 导出通知发送
export function exportOaNotifyTheSend(query) {
  return request({
    url: '/notify/oaNotifyTheSend/export',
    method: 'get',
    params: query
  })
}
